package cn.b.sky.user.service.model;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

public class RoleBusinessType extends ImeCommon implements Serializable
{
	/** 
	* @Fields serialVersionUID : 
	* @creator     :ZhiPeng.Tong
	*/ 
	private static final long serialVersionUID = 1L;

	/**
	 * 角色编号
	 */
	private String roleCode;
	/**
	 * 业务类型
	 */
	private String businessType;
	/**
	 * 创建权限
	 */
	private Integer createFlag = 0;
	/**
	 * 查询权限
	 */
	private Integer queryFlag = 0;
	/**
	 * 业务类型描述
	 */
	private String businessTypeText;

	public String getRoleCode()
	{
		return StringUtils.upperCase(roleCode);
	}

	public void setRoleCode(String roleCode)
	{
		this.roleCode = StringUtils.upperCase(roleCode);
	}

	public String getBusinessType()
	{
		return businessType;
	}

	public void setBusinessType(String businessType)
	{
		this.businessType = businessType;
	}

	public Integer getCreateFlag()
	{
		return createFlag;
	}

	public void setCreateFlag(Integer createFlag)
	{
		this.createFlag = createFlag;
	}

	public Integer getQueryFlag()
	{
		return queryFlag;
	}

	public void setQueryFlag(Integer queryFlag)
	{
		this.queryFlag = queryFlag;
	}

	public String getBusinessTypeText()
	{
		return businessTypeText;
	}

	public void setBusinessTypeText(String businessTypeText)
	{
		this.businessTypeText = businessTypeText;
	}

}
